﻿<%@ Page Language="C#" MasterPageFile="~/System/BidProject.master" AutoEventWireup="true"
    CodeFile="BidGoodsManage.aspx.cs" Inherits="Bidder_BidGoodsManage" Title="Untitled Page" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc2" %>
<%@ Register Src="../Common/ProtonPager.ascx" TagName="ProtonPager" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="javascript">
 function confirmvalue_dl(obj)
        { 
            document.all("textmark"+obj.bidid).value = obj.companyid;
            document.all("text"+obj.bidid).value =obj.companyName;        
        }
    </script>

    <table width="98%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4">
                <img src="../images/intro_left.gif" width="4" height="34"></td>
            <td class="intro_wordbg">
                投标商品管理</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34"></td>
        </tr>
    </table>
    <table width="98%" border="1">
        <tr>
            <td>
                通用名：</td>
            <td>
                <asp:TextBox ID="txtname" runat="server" Width="137px"></asp:TextBox></td>
            <td>
                剂 型：</td>
            <td>
                <asp:TextBox ID="txtmedicinemodel" runat="server" Width="137px"></asp:TextBox></td>
            <td>
                规 格：</td>
            <td>
                <asp:TextBox ID="txtoutlook" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                药品流水号：</td>
            <td>
                <asp:TextBox ID="txtGoodsId" runat="server" Width="137px"></asp:TextBox></td>
            <td>
                生产企业名称：</td>
            <td>
                <asp:TextBox ID="txtcompany" runat="server" Width="137px"></asp:TextBox></td>
            <td>
                生产企业注册号：</td>
            <td>
                <asp:TextBox ID="txtUserCode_SC" runat="server" Width="137px"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
                审核状态：</td>
            <td>
                <asp:DropDownList ID="lstCheckStatus" runat="server" Width="137px">
                </asp:DropDownList></td>
            <td>
                是否缺资料：</td>
            <td>
                <asp:DropDownList ID="qzl" runat="server" Width="137px">
                 <asp:ListItem Value="1">不缺资料</asp:ListItem>
                    <asp:ListItem Value="0">缺资料</asp:ListItem>                   
                    <asp:ListItem Value="2">--全部--</asp:ListItem>
                </asp:DropDownList></td>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="查 询" class="button_bg" Width="58px" /></td>
        </tr>
        <tr>
            <td>
                删除投标的商品：</td>
            <td>
                <input type="submit" name="btnSubmit" class="button_bg" value="删除" onclick="javascript:return confirm('确定真的要删除吗？？？？ ');"
                    id="Submit1" style="width: 60px" /></td>
            <td>
                <asp:Label ID="Label5" runat="server" Text="保存你所选择的配送企业：" Width="54px"></asp:Label>&nbsp;</td>
            <td>
                <input id="Submit2" type="submit" value="保存所选配送企业" class="button_bg8" name="SaveId"
                    style="display: <%=status%>; width: 120px;" />
            </td>
            <td>
                &nbsp;<input id="Submit3" type="submit" value="投标药品一览表" name="subPrint" class="button_bg6"
                    style="width: 90px" onclick="javascript:return CheckForm();" /></td>
            <td>
                <input id="Submit4" type="submit" value="投标人所投厂家一览表" name="subPrintCompany" class="button_bg8"
                    style="width: 120px" onclick="javascript:return CheckForm();" /></td>
        </tr>
        <tr>
            <td colspan="8" style="height: 19px">
                <uc2:DbPageFlip ID="DbPageFlip1" runat="server" />
            </td>
        </tr>
        <tr style="display: none;">
            <td colspan="8" style="height: 19px">
                <strong><span style="font-size: 12pt; color: #ff0033">投标人是经营企业时，如果你所投的药品被审核不通过，请看清楚审核不通过原因后，<br />
                    告知生产企业让其将药品信息修改正确。

                    <br />
                    如果投标人是生产企业，直接点击本行中的“审核不通过”，将药品信息修改正确。</span></strong></td>
        </tr>
        <tr style="display: block;">
            <td colspan="8" style="height: 19px">
                <strong><span style="font-size: 12pt; color: #ff0033 ; display:none"  visible="false">经发改委核定物价,部分药品缺相关资料,详情请查询"缺资料"药品<br />
                    截止&nbsp;2007-12-25 18:00&nbsp;时资料未送齐,视为自动弃标！

                    <br />
                </span></strong>
            </td>
        </tr>
        <tr>
            <td colspan="8">
                <asp:GridView ID="GridView2" runat="server" Width="100%" AutoGenerateColumns="False"
                    OnRowCreated="GridView1_RowCreated" OnRowDataBound="GridView1_RowDataBound" BackColor="White"
                    BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" CssClass='table_table'
                    HeaderStyle-CssClass='table_title'>
                    <Columns>
                        <asp:BoundField DataField="GoodsId" HeaderText="药品流水号">
                            <HeaderStyle Width="60px" />
                            <ItemStyle Width="60px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="productid" HeaderText="品目号">
                            <ItemStyle Width="60px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="productname" HeaderText="通用名" />
                        <asp:BoundField DataField="memo3" HeaderText="药品类别" />
                        <asp:BoundField DataField="memo1" HeaderText="医保类型" />
                        <asp:BoundField DataField="goodsname" HeaderText="药品商品名" />
                        <asp:BoundField DataField="Medicinemodel" HeaderText="剂型" />
                        <asp:BoundField DataField="Outlookc" HeaderText="规格" />
                        <asp:BoundField DataField="Factor" HeaderText="转换系数" />
                        <asp:BoundField DataField="Unit" HeaderText="单位" />
                        <asp:BoundField DataField="CompanyName" HeaderText="生产企业" />
                        <asp:BoundField DataField="UserCode" HeaderText="生产企业注册号" />
                        <asp:BoundField DataField="RetailPrice" HeaderText="最新零售价" />
                        <asp:BoundField DataField="QualityLevels" HeaderText="质量层次" />
                        <asp:BoundField DataField="IsImport" HeaderText="是否进口药" />
                        <asp:BoundField HeaderText="审核状态" />
                        <asp:TemplateField HeaderText="选择删除投标记录"></asp:TemplateField>
                        <asp:BoundField DataField="bidid" HeaderText="投标id" />
                        <asp:BoundField DataField="checkstatus" HeaderText="是否审核" />
                        <asp:TemplateField HeaderText="主要配送企业"></asp:TemplateField>
                        <asp:BoundField DataField="PSName" HeaderText="隐藏的配送企业" />
                        <asp:BoundField DataField="PSAccountid" HeaderText="隐藏的配送企业号" />
                        <asp:TemplateField ShowHeader="False"></asp:TemplateField>
                        <asp:HyperLinkField DataNavigateUrlFields="BidID" DataNavigateUrlFormatString="Post.aspx?bidid={0}"
                            Text="选择" HeaderText="选择主要配送企业" Target="_blank" />
                        <asp:BoundField DataField="BiddingSwitching" HeaderText="投标开关" />
                        <asp:BoundField DataField="memo10" HeaderText="是否缺资料" />
                    </Columns>
                    <RowStyle CssClass="table_td" />
                    <AlternatingRowStyle CssClass="table_td2" />
                    <HeaderStyle CssClass="table_title" />
                </asp:GridView>
            </td>
        </tr>
    </table>
    <asp:GridView ID="GridView3" runat="server" Width="600" AutoGenerateColumns="False"
        BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px"
        CellPadding="4" CssClass='table_table' HeaderStyle-CssClass='table_title' OnRowDataBound="GridView3_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemStyle Width="90" />
            </asp:TemplateField>
            <asp:BoundField DataField="UserCode" HeaderText="注册号" />
            <asp:BoundField DataField="CompanyName" HeaderText="生产企业" />
        </Columns>
        <RowStyle CssClass="table_td" />
        <AlternatingRowStyle CssClass="table_td2" />
        <HeaderStyle CssClass="table_title" />
    </asp:GridView>
</asp:Content>
